//
//  AViewFormController.h
//  MClient
//
//  Created by  史正烨 on 10-4-8.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface AViewFormController : MCTableViewController <UIActionSheetDelegate,UITabBarDelegate>{
	
	NSString *dataObjectName;
	NSString *layoutName;
	NSString *keyValue;
	NSMutableArray *initialValues;
	NSMutableDictionary *formData;
	NSMutableDictionary *formLayout;
	int tabIndex;
	NSMutableArray *startIndexArray;
	NSMutableArray *viewButtons;
	NSMutableArray *subButtons;
	NSMutableArray *subDetailButtons;
	NSMutableDictionary *aListInfo;
	float cellWidth;
	float cellHeight;
	float imageWidth;
	float imageHeight;
	NSMutableDictionary *imagesCache;
    
    int actionSheetFlag;
    int endFieldIndex;
}

@property (nonatomic, retain) NSString *dataObjectName;
@property (nonatomic, retain) NSString *layoutName;
@property (nonatomic, retain) NSString *keyValue;
@property (nonatomic, retain) NSMutableArray *initialValues;
@property (nonatomic, retain) NSMutableDictionary *formData;
@property (nonatomic, retain) NSMutableDictionary *formLayout;
@property (nonatomic) int tabIndex;
@property (nonatomic, retain) NSMutableArray *startIndexArray;
@property (nonatomic, retain) NSMutableArray *viewButtons;
@property (nonatomic, retain) NSMutableArray *subButtons;
@property (nonatomic, retain) NSMutableArray *subDetailButtons;
@property (nonatomic, retain) NSMutableDictionary *aListInfo;
@property (nonatomic) float cellWidth;
@property (nonatomic) float cellHeight;
@property (nonatomic) float imageWidth;
@property (nonatomic) float imageHeight;
@property (nonatomic, retain) NSMutableDictionary *imagesCache;

- (void)getDataFromServer;

@end
